﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Perform
{
    public partial class frmResale : Form
    {
        public frmResale()
        {
            InitializeComponent();
        }

        private void btnSelect_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmResaleSelect frmResale = new frmResaleSelect();
            frmResale.TopLevel = false;
            palCenter.Controls.Add(frmResale);
            frmResale.Show();
        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {

        }

        private void btnInsert_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmResaleAdd frmResale = new frmResaleAdd();
            frmResale.TopLevel = false;
            palCenter.Controls.Add(frmResale);
            frmResale.Show();

        }

        private void btnUpdate_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmResaleUpdate frmResale = new frmResaleUpdate();
            frmResale.TopLevel = false;
            palCenter.Controls.Add(frmResale);
            frmResale.Show();
        }
    }
}
